﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001037 RID: 4151
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueTournHandBookNotify : IMessage<RogueTournHandBookNotify>, IMessage, IEquatable<RogueTournHandBookNotify>, IDeepCloneable<RogueTournHandBookNotify>, IBufferMessage
	{
		// Token: 0x17003473 RID: 13427
		// (get) Token: 0x0600B9A4 RID: 47524 RVA: 0x001F45C3 File Offset: 0x001F27C3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueTournHandBookNotify> Parser
		{
			get
			{
				return RogueTournHandBookNotify._parser;
			}
		}

		// Token: 0x17003474 RID: 13428
		// (get) Token: 0x0600B9A5 RID: 47525 RVA: 0x001F45CA File Offset: 0x001F27CA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueTournHandBookNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003475 RID: 13429
		// (get) Token: 0x0600B9A6 RID: 47526 RVA: 0x001F45DC File Offset: 0x001F27DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueTournHandBookNotify.Descriptor;
			}
		}

		// Token: 0x0600B9A7 RID: 47527 RVA: 0x001F45E3 File Offset: 0x001F27E3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournHandBookNotify()
		{
		}

		// Token: 0x0600B9A8 RID: 47528 RVA: 0x001F45F6 File Offset: 0x001F27F6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournHandBookNotify(RogueTournHandBookNotify other) : this()
		{
			this.hHDCKGBMHAI_ = other.hHDCKGBMHAI_.Clone();
			this.pKDJDPGCMFN_ = other.pKDJDPGCMFN_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600B9A9 RID: 47529 RVA: 0x001F462C File Offset: 0x001F282C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournHandBookNotify Clone()
		{
			return new RogueTournHandBookNotify(this);
		}

		// Token: 0x17003476 RID: 13430
		// (get) Token: 0x0600B9AA RID: 47530 RVA: 0x001F4634 File Offset: 0x001F2834
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> HHDCKGBMHAI
		{
			get
			{
				return this.hHDCKGBMHAI_;
			}
		}

		// Token: 0x17003477 RID: 13431
		// (get) Token: 0x0600B9AB RID: 47531 RVA: 0x001F463C File Offset: 0x001F283C
		// (set) Token: 0x0600B9AC RID: 47532 RVA: 0x001F4644 File Offset: 0x001F2844
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournHandbookType PKDJDPGCMFN
		{
			get
			{
				return this.pKDJDPGCMFN_;
			}
			set
			{
				this.pKDJDPGCMFN_ = value;
			}
		}

		// Token: 0x0600B9AD RID: 47533 RVA: 0x001F464D File Offset: 0x001F284D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueTournHandBookNotify);
		}

		// Token: 0x0600B9AE RID: 47534 RVA: 0x001F465C File Offset: 0x001F285C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueTournHandBookNotify other)
		{
			return other != null && (other == this || (this.hHDCKGBMHAI_.Equals(other.hHDCKGBMHAI_) && this.PKDJDPGCMFN == other.PKDJDPGCMFN && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600B9AF RID: 47535 RVA: 0x001F46AC File Offset: 0x001F28AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.hHDCKGBMHAI_.GetHashCode();
			if (this.PKDJDPGCMFN != RogueTournHandbookType.RogueTournHandbookNone)
			{
				num ^= this.PKDJDPGCMFN.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600B9B0 RID: 47536 RVA: 0x001F46FF File Offset: 0x001F28FF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600B9B1 RID: 47537 RVA: 0x001F4707 File Offset: 0x001F2907
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600B9B2 RID: 47538 RVA: 0x001F4710 File Offset: 0x001F2910
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.hHDCKGBMHAI_.WriteTo(ref output, RogueTournHandBookNotify._repeated_hHDCKGBMHAI_codec);
			if (this.PKDJDPGCMFN != RogueTournHandbookType.RogueTournHandbookNone)
			{
				output.WriteRawTag(64);
				output.WriteEnum((int)this.PKDJDPGCMFN);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600B9B3 RID: 47539 RVA: 0x001F4760 File Offset: 0x001F2960
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.hHDCKGBMHAI_.CalculateSize(RogueTournHandBookNotify._repeated_hHDCKGBMHAI_codec);
			if (this.PKDJDPGCMFN != RogueTournHandbookType.RogueTournHandbookNone)
			{
				num += 1 + CodedOutputStream.ComputeEnumSize((int)this.PKDJDPGCMFN);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600B9B4 RID: 47540 RVA: 0x001F47B4 File Offset: 0x001F29B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueTournHandBookNotify other)
		{
			if (other == null)
			{
				return;
			}
			this.hHDCKGBMHAI_.Add(other.hHDCKGBMHAI_);
			if (other.PKDJDPGCMFN != RogueTournHandbookType.RogueTournHandbookNone)
			{
				this.PKDJDPGCMFN = other.PKDJDPGCMFN;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600B9B5 RID: 47541 RVA: 0x001F4801 File Offset: 0x001F2A01
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600B9B6 RID: 47542 RVA: 0x001F480C File Offset: 0x001F2A0C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 40U && num != 42U)
				{
					if (num != 64U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.PKDJDPGCMFN = (RogueTournHandbookType)input.ReadEnum();
					}
				}
				else
				{
					this.hHDCKGBMHAI_.AddEntriesFrom(ref input, RogueTournHandBookNotify._repeated_hHDCKGBMHAI_codec);
				}
			}
		}

		// Token: 0x04004AC7 RID: 19143
		private static readonly MessageParser<RogueTournHandBookNotify> _parser = new MessageParser<RogueTournHandBookNotify>(() => new RogueTournHandBookNotify());

		// Token: 0x04004AC8 RID: 19144
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004AC9 RID: 19145
		public const int HHDCKGBMHAIFieldNumber = 5;

		// Token: 0x04004ACA RID: 19146
		private static readonly FieldCodec<uint> _repeated_hHDCKGBMHAI_codec = FieldCodec.ForUInt32(42U);

		// Token: 0x04004ACB RID: 19147
		private readonly RepeatedField<uint> hHDCKGBMHAI_ = new RepeatedField<uint>();

		// Token: 0x04004ACC RID: 19148
		public const int PKDJDPGCMFNFieldNumber = 8;

		// Token: 0x04004ACD RID: 19149
		private RogueTournHandbookType pKDJDPGCMFN_;
	}
}
